package org.darkforest.dao.mapper;

import java.util.List;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.CmsSpecialComment;

@DBMapper
public interface CmsSpecialCommentMapper {
    int deleteByPrimaryKey(Integer commentId);

    int insert(CmsSpecialComment record);

    int insertSelective(CmsSpecialComment record);

    CmsSpecialComment selectByPrimaryKey(Integer commentId);

    List<CmsSpecialComment> selectListByCondition(CmsSpecialComment specialComment);

    int updateByPrimaryKeySelective(CmsSpecialComment record);

    int updateByPrimaryKeyWithBLOBs(CmsSpecialComment record);

    int updateByPrimaryKey(CmsSpecialComment record);

    int addThumbUp(CmsSpecialComment record);
    int cancelThumbUp(CmsSpecialComment record);
}